#include "MyBatchSetting.h"

MyBatchSetting::MyBatchSetting()
    : m_browseFolderNative(false), m_mdiShowMode(1), m_sorterFileId(0), m_defaultSavePatern(""),
      m_defaultSaveFormat("PDF"), m_createScriptBefore(false), m_scriptBeforePatern("") {
        MyBatchSettingPrint m_settingPrint;
}

MyBatchSetting::MyBatchSetting(const MyBatchSetting &orig)
    : m_browseFolderNative(orig.m_browseFolderNative), m_mdiShowMode(orig.m_mdiShowMode), m_sorterFileId(orig.m_sorterFileId),
      m_sorterFileParam(orig.m_sorterFileParam), m_defaultSavePatern(orig.m_defaultSavePatern),
      m_defaultSaveFormat(orig.m_defaultSaveFormat), m_createScriptBefore(orig.m_createScriptBefore),
      m_scriptBeforePatern(orig.m_scriptBeforePatern), m_settingPrint(orig.m_settingPrint) {
}

MyBatchSetting::~MyBatchSetting(){
}

bool MyBatchSetting::getBrowseFolderNative() const{
    return m_browseFolderNative;
}
void MyBatchSetting::setBrowseFolderNative(const bool& v){
    m_browseFolderNative = v;
}

int MyBatchSetting::getMdiShowMode() const{
    return m_mdiShowMode;
}
void MyBatchSetting::setMdiShowMode(const int& v){
    m_mdiShowMode = v;
}

int MyBatchSetting::getSorterFileId() const{
    return m_sorterFileId;
}
void MyBatchSetting::setSorterFileId(const int& v){
    m_sorterFileId= v;
}

QString MyBatchSetting::getSorterFileParam() const{
    return m_sorterFileParam;
}
void MyBatchSetting::setSorterFileParam(const QString& v){
    m_sorterFileParam = v;
}

QString MyBatchSetting::getDefaultSavePatern() const{
    return m_defaultSavePatern;
}
void MyBatchSetting::setDefaultSavePatern(const QString& v){
    m_defaultSavePatern = v;
}

QString MyBatchSetting::getDefaultSaveFormat() const{
    return m_defaultSaveFormat;
}
void MyBatchSetting::setDefaultSaveFormat(const QString& v){
    m_defaultSaveFormat = v;
}

bool MyBatchSetting::getCreateScriptBefore() const{
    return m_createScriptBefore;
}
void MyBatchSetting::setCreateScriptBefore(const bool& v){
    m_createScriptBefore = v;
}

QString MyBatchSetting::getScriptBeforePatern() const{
    return m_scriptBeforePatern;
}
void MyBatchSetting::setScriptBeforePatern(const QString& v){
    m_scriptBeforePatern = v;
}

MyBatchSettingPrint MyBatchSetting::getSettingPrint() const{
    return m_settingPrint;
}
void MyBatchSetting::setSettingPrint(const MyBatchSettingPrint& v){
    m_settingPrint = v;
}

void MyBatchSetting::setPaperSize(const int& v){
    m_settingPrint.setPaperSize(v);
}

int MyBatchSetting::getPaperSize() const{
    return m_settingPrint.getPaperSize();
}

void MyBatchSetting::setOrientation(const int& v){
    m_settingPrint.setOrientation(v);
}

int MyBatchSetting::getOrientation() const{
    return m_settingPrint.getOrientation();
}

void MyBatchSetting::setColor(const int& v){
    m_settingPrint.setColor(v);
}

int MyBatchSetting::getColor() const{
    return m_settingPrint.getColor();
}

void MyBatchSetting::setResolution(const int& v){
    m_settingPrint.setResolution(v);
}

int MyBatchSetting::getResolution() const{
    return m_settingPrint.getResolution();
}

void MyBatchSetting::setMargingTop(const double& v){
    m_settingPrint.setMargingTop(v);
}

double MyBatchSetting::getMargingTop() const{
    return m_settingPrint.getMargingTop();
}

void MyBatchSetting::setMargingBottom(const double& v){
    m_settingPrint.setMargingBottom(v);
}

double MyBatchSetting::getMargingBottom() const{
    return m_settingPrint.getMargingBottom();
}

void MyBatchSetting::setMargingLeft(const double& v){
    m_settingPrint.setMargingLeft(v);
}

double MyBatchSetting::getMargingLeft() const{
    return m_settingPrint.getMargingLeft();
}

void MyBatchSetting::setMargingRight(const double& v){
    m_settingPrint.setMargingRight(v);
}

double MyBatchSetting::getMargingRight() const{
    return m_settingPrint.getMargingRight();
}
